package com.gitee.neuray.security.par.demo.feign;

import com.gitee.neuray.security.admin.api.PmUserServiceApi;
import com.gitee.neuray.security.par.demo.feign.hystrix.DemoFeignHystrix;
import org.springframework.cloud.openfeign.FeignClient;

/**
 * @author: zhhongyu
 * @description:
 * @since: Create in 15:42 2020/8/25
 */
@FeignClient(value = DemoFeign.admin,fallback = DemoFeignHystrix.class)
public interface DemoFeign extends PmUserServiceApi {
    String admin = "hr-admin";
}
